//
//  LoginViewController.h
//  FootPrint
//
//  Created by alex tao on 2/25/13.
//  Copyright (c) 2013 alex tao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIGlossyButton.h"
#import "PwdFoundParser.h"

@interface LoginViewController : UIViewController <UIAlertViewDelegate,PwdFoundDelegate> {
    
    CommonParser *          _parser;
    PwdFoundParser*         _pwdParser;
    int flag;
    int x;
    int y;
    int width;
    int height;
    UIAlertView*      _alert;
    
    
}

@property (retain, nonatomic) IBOutlet UIScrollView *contentScroll;
@property (retain, nonatomic) IBOutlet UILabel *textName;
@property (retain, nonatomic) IBOutlet UILabel *textPwd;

@property (retain, nonatomic) IBOutlet UITextField *nameText;
@property (retain, nonatomic) IBOutlet UITextField *passText;
@property (retain, nonatomic) IBOutlet UISegmentedControl *segmentControl;
@property (retain, nonatomic) IBOutlet UIButton *btnRegister;
@property (retain, nonatomic) IBOutlet UIButton *btnLogin;

- (IBAction)swith:(UISegmentedControl *)sender;
@property (retain, nonatomic) IBOutlet UIButton *btnPwd;

- (IBAction)registar;
- (IBAction)login;
- (IBAction) hideKeyBord;
- (IBAction)goNext;
- (IBAction)actionForgetPwd:(id)sender;
@property (retain, nonatomic) IBOutlet UITextField *phoneText;

@end
